/*
 * create by Littleken at 2019/3/19 17:38
 */
package com.littleken.sellproject.service;

import com.littleken.sellproject.dao.SellerInfoMapper;
import com.littleken.sellproject.model.SellerInfo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
@Slf4j
public class SellerService {

    @Resource
    private SellerInfoMapper mapper;

    public SellerInfo findSellerInfoByOpenid(String openid) {
        return mapper.findByOpenid(openid);
    }
}
